package com.hhxy.entity;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @author ghp
 * @date 2023/1/15
 * @title
 * @description
 */
@Data
public class Product {
    private Long id;
    private String name;
    private Integer price;
    @Version // 用来标识乐观锁版本号
    private Integer version;
}
